import request from "@/utils/request";

let api = {}

// 获取授权厂家
api.GetFactoryList = function(input){
    return request({
        url: `/api.factory/index`,
        method: 'get',
        token: true, // 需要进行token处理
        params: input
    })
}

// 根据厂家id获取商品
api.GetFactoryGoodsList = function (input) {
    return request({
        url: `/api.factory/getGoods`,
        method: 'get',
        token: true,
        params: input
    })
}

export default api;